package com.tcm.mapper;

import com.tcm.entity.Notification;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
* @author Guqier
* @description 针对表【ts_notification(通知、公告)】的数据库操作Mapper
* @createDate 2023-07-28 16:49:10
* @Entity com.tcm.entity.Notification
*/
@Mapper
public interface NotificationMapper extends BaseMapper<Notification> {

    /**
     * 获取最新滚动通知
     * @param account 学生账号
     * @return 最新滚动通知
     */
    Notification getRollNotification(String account);

}




